package com.qf.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EprOrders extends BaseEntity{
  // 订单ID
  private long orderId;
  // 订单所属国家
  private String country;
  // 订单号
  private String orderNumber;
  // 商品详细信息
  private String productInfo;
  // 商品SKU
  private String sku;
  // 买家名
  private String buyerName;
  // 订单总额
  private double totalAmount;
  @JsonFormat(pattern = "yyyy-MM-dd")
  // 订单时间
  private Date orderPlacedAt;
  // 订单状态
  private long orderStatus;
  @JsonFormat(pattern = "yyyy-MM-dd")
  // 付款时间
  private Date paymentTime;
  @JsonFormat(pattern = "yyyy-MM-dd")
  // 发货时间
  private Date dispatchTime;
  @JsonFormat(pattern = "yyyy-MM-dd")
  // 发货时限
  private Date deliveryDeadline;
  // 发货窗口
  private String shippingWindow;
  // 目的地
  private String destination;
  // 物流方式
  private String shippingMethod;
  // 发货状态
  private String shippingStatus;
  // 商品分类
  private String category;
  // 品牌
  private String brand;
  // 商品数量
  private long quantity;
  // 发货仓库编码
  private String warehouseCode;
  // 退货原因
  private String returnReason;
  // 买家备注
  private String buyerRemarks;
  // 退货状态
  private long returnStatus;

  public long getOrderId() {
    return orderId;
  }

  public void setOrderId(long orderId) {
    this.orderId = orderId;
  }

  public String getCountry() {
    return country;
  }

  public void setCountry(String country) {
    this.country = country;
  }

  public String getOrderNumber() {
    return orderNumber;
  }

  public void setOrderNumber(String orderNumber) {
    this.orderNumber = orderNumber;
  }

  public String getProductInfo() {
    return productInfo;
  }

  public void setProductInfo(String productInfo) {
    this.productInfo = productInfo;
  }

  public String getSku() {
    return sku;
  }

  public void setSku(String sku) {
    this.sku = sku;
  }

  public String getBuyerName() {
    return buyerName;
  }

  public void setBuyerName(String buyerName) {
    this.buyerName = buyerName;
  }

  public double getTotalAmount() {
    return totalAmount;
  }

  public void setTotalAmount(double totalAmount) {
    this.totalAmount = totalAmount;
  }

  public Date getOrderPlacedAt() {
    return orderPlacedAt;
  }

  public void setOrderPlacedAt(Date orderPlacedAt) {
    this.orderPlacedAt = orderPlacedAt;
  }

  public long getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(long orderStatus) {
    this.orderStatus = orderStatus;
  }

  public Date getPaymentTime() {
    return paymentTime;
  }

  public void setPaymentTime(Date paymentTime) {
    this.paymentTime = paymentTime;
  }

  public Date getDispatchTime() {
    return dispatchTime;
  }

  public void setDispatchTime(Date dispatchTime) {
    this.dispatchTime = dispatchTime;
  }

  public Date getDeliveryDeadline() {
    return deliveryDeadline;
  }

  public void setDeliveryDeadline(Date deliveryDeadline) {
    this.deliveryDeadline = deliveryDeadline;
  }

  public String getShippingWindow() {
    return shippingWindow;
  }

  public void setShippingWindow(String shippingWindow) {
    this.shippingWindow = shippingWindow;
  }

  public String getDestination() {
    return destination;
  }

  public void setDestination(String destination) {
    this.destination = destination;
  }

  public String getShippingMethod() {
    return shippingMethod;
  }

  public void setShippingMethod(String shippingMethod) {
    this.shippingMethod = shippingMethod;
  }

  public String getShippingStatus() {
    return shippingStatus;
  }

  public void setShippingStatus(String shippingStatus) {
    this.shippingStatus = shippingStatus;
  }

  public String getCategory() {
    return category;
  }

  public void setCategory(String category) {
    this.category = category;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public long getQuantity() {
    return quantity;
  }

  public void setQuantity(long quantity) {
    this.quantity = quantity;
  }

  public String getWarehouseCode() {
    return warehouseCode;
  }

  public void setWarehouseCode(String warehouseCode) {
    this.warehouseCode = warehouseCode;
  }

  public String getReturnReason() {
    return returnReason;
  }

  public void setReturnReason(String returnReason) {
    this.returnReason = returnReason;
  }

  public String getBuyerRemarks() {
    return buyerRemarks;
  }

  public void setBuyerRemarks(String buyerRemarks) {
    this.buyerRemarks = buyerRemarks;
  }

  public long getReturnStatus() {
    return returnStatus;
  }

  public void setReturnStatus(long returnStatus) {
    this.returnStatus = returnStatus;
  }

  @Override
  public String toString() {
    return "EprOrders{" +
            "orderId=" + orderId +
            ", country='" + country + '\'' +
            ", orderNumber='" + orderNumber + '\'' +
            ", productInfo='" + productInfo + '\'' +
            ", sku='" + sku + '\'' +
            ", buyerName='" + buyerName + '\'' +
            ", totalAmount=" + totalAmount +
            ", orderPlacedAt=" + orderPlacedAt +
            ", orderStatus=" + orderStatus +
            ", paymentTime=" + paymentTime +
            ", dispatchTime=" + dispatchTime +
            ", deliveryDeadline=" + deliveryDeadline +
            ", shippingWindow='" + shippingWindow + '\'' +
            ", destination='" + destination + '\'' +
            ", shippingMethod='" + shippingMethod + '\'' +
            ", shippingStatus='" + shippingStatus + '\'' +
            ", category='" + category + '\'' +
            ", brand='" + brand + '\'' +
            ", quantity=" + quantity +
            ", warehouseCode='" + warehouseCode + '\'' +
            ", returnReason='" + returnReason + '\'' +
            ", buyerRemarks='" + buyerRemarks + '\'' +
            ", returnStatus=" + returnStatus +
            "} " + super.toString();
  }
}
